﻿<%@ Page Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true" CodeBehind="Search.aspx.cs"
    Inherits="ProjectQuaDep.Search" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <div class="content">
        <div class="fl w1000 mgt10">
            <div id="loadSearch">
                <%--load phan trang--%>
            </div>
            <script>
                function loadItem(page) {
                    var sSearch = "<%=sSearch %>";
                    sSearch = sSearch.replace(/ /gi, '%20');
                    showAjax('#loadSearch', '/Services/LoadSearch.aspx?search=' + sSearch + '&page=' + page);
                }
                loadItem(1);
            </script>
             <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-508797c913fac73d"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            mainmenu();
            $(".duthi li div.item").mouseenter(function () {
                $(this).find('div.main-name').show();
                $(this).find('div.main-name').animate({ 'bottom': '60px' }, 1000, 'easeOutBounce');
            }).mouseleave(function () {
                $(this).find('div.main-name').animate({ 'bottom': '-60px' }, 1000, 'easeOutBounce');
            });
        });
        function mainmenu() {
            $(" #nav ul ").css({ display: "none" }); // Opera Fix
            $(" #nav li").hover(function () {
                $(this).find('ul:first').css({ visibility: "visible", display: "none" }).show(400);
            }, function () {
                $(this).find('ul:first').css({ visibility: "hidden" });
            });
        }
    </script>
        </div>
    </div>
</asp:Content>
